<div>
    <a href="#/"><i class="fa fa-arrow-left"></i>返回</a>
</div>
<div class="title">
    <h3 class="media-heading"><i class="fa fa-question-circle"></i><a href="#/question/{{question.id}}">{{question.title}}</a></h3>
</div>
<div class="media well" >
    <div class="media-body" contenteditable="false">
        {{question.content}} </div>
    <div class="" style="clear:both">
        <div style="float: right;margin-right:20px; margin-top:10px;">
            <span class="ng-binding"><i class="fa fa-user fa-fw"></i> {{question.owner_id||"匿名"}}</span>
        </div>
    </div>
</div>
<div class="tip">
    该问题的所有回答
</div>
<div class="media well" ng-repeat="answer in answers">
    <a href="#" class="pull-left"> <img src="img/a_002.jpg" class="media-object"> </a>
    <div class="media-body" contenteditable="false">
        {{answer.content}} </div>
    <div class="" style="clear:both">
        <div style="float: right;margin-right:20px; margin-top:10px;">
            <span class="ng-binding"><i class="fa fa-user fa-fw"></i> {{answer.user_role||"匿名"}}</span>
            <span class="ng-binding"><a ng-click="answer_judge_praise(answer.id)" class="btn"><i class="fa fa-thumbs-o-up" ></i></a> {{answer.praise_num||0}}</span>
        </div>
    </div>
</div>
<div>
    <p bgf-pagination collection="answers" auto-presets="false" reload-page="reload" per-page="4"
       url="answer_url"
       template-url="paginate-anything.html"></p>
</div>
<div >
    <form>
        <div class="textarea">
            <textarea placeholder="可以在这写你的回答" ng-model="new_answer.content" class="text-style" style="height:300px"></textarea>
        </div>
        <div style="padding: 20px 50px;">
            <input type="button" class="btn btn-primary" value="回答问题" ng-click="answer_submit()">
            <input type="reset" class="btn btn-primary" value="重置回答" style="margin-left: 100px">
        </div>
    </form>
</div>
